//
//  XMPublishView.h
//  XMJJ_zml
//
//  Created by 丁浩 on 2025/6/5.
//

#import "XMBaseView.h"
#import "XMAddressModel.h"
#import "XMMeetingDetailModel.h"

NS_ASSUME_NONNULL_BEGIN

@protocol XMPublishViewDelegate <NSObject>

- (void)positionSelectAction;  //位置选择
- (void)backAction;  //返回
- (void)publishWithParameters:(NSMutableDictionary *)parameters;
//- (void)saveDraftWithParameters:(NSMutableDictionary *)parameters;
- (void)upLoadImg;   //添加图片

@end

@interface XMPublishView : XMBaseView

@property (nonatomic, weak) id<XMPublishViewDelegate>delegate;

- (void)setcontentwithMeetingModel:(XMMeetingDetailModel *)meetingModel; //见面详情
- (void)setSelectImg:(NSString *)selectImgStr;  //图片上传成功
//- (void)setSelectImg:(UIImage *)selectImg;  //图片上传成功
- (void)saveSuccess;

- (void)setContentWithServiceModelArr:(NSArray *)serviceModelArr;
- (void)setContentWithAddressModel:(XMAddressModel *)addressModel;

- (void)show;

@end

NS_ASSUME_NONNULL_END
